//
//  UserInfo.h
//  JiuyaoDriver
//
//  Created by 大橙子 on 2018/11/10.
//  Copyright © 2018 Tomous. All rights reserved.
//

#import "DCBaseModel.h"
#import "Singleton.h"
#import "Record.h"
NS_ASSUME_NONNULL_BEGIN

@interface UserInfo : DCBaseModel
singleton_interface(UserInfo)
@property (nonatomic,copy) NSString *code;
@property (nonatomic,copy) NSString *count;//数据条数
@property (nonatomic,copy) NSString *limit;//分页使用-每页数目
@property (nonatomic,copy) NSString *page;//分页使用-当前页

@property (nonatomic,copy) NSString *token;
@property (nonatomic,copy) NSString *rongcloudToken;
@property (nonatomic,copy) NSString *rongcloudAppkey;

@property (nonatomic,strong)Record *record;//内容

-(void)saveUserInfoToSanbox;
-(void)loadUserInfoFromSanbox;
-(void)clearUser;
+ (instancetype)shareInstance;
@end

NS_ASSUME_NONNULL_END
